home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 1.0 for Developers / QuickTime 1.0 for Developers.iso / Programming Stuff / Interfaces / Oldstyle C Interfaces / Video Digitizer.h < prev   
C/C++ Source or Header  |  1991-09-06  |  18KB  |  392 lines

  1. /*
  2.     File:        video digitizer.h
  3.     Copyright:    © 1991 by Apple Computer, Inc., all rights reserved.
  4. */
  5.  
  6. #ifndef _videodigitizer_
  7. #define    _videodigitizer_
  8.  
  9. #include <QuickDraw.h>
  10. #include <Video.h>                /* gotta do this to get VDGamRecPtr */    
  11.  
  12. #include "Matrix.h"
  13. #include "Components.h"
  14.  
  15. /* Standard type for video digitizers */
  16.  
  17. #define    videoDigitizerComponentType        'vdig'        
  18. #define vdigInterfaceRev                2L
  19.  
  20. /* Input Format Standards */
  21.  
  22. #define    ntscIn            0                /* ntsc input format */
  23. #define    palIn            1                /* pal input format */
  24. #define    secamIn            2                /* secam input format */
  25. #define autoDetectIn    3                /* auto detect */
  26.  
  27. /* Input Formats */
  28.  
  29. #define    compositeIn        0                /* input is composite format */
  30. #define    sVideoIn        1                /* input is sVideo format */
  31. #define rgbComponentIn    2                /* input is rgb component format */
  32.  
  33. /* Video Digitizer PlayThru States */
  34.  
  35. #define vdPlayThruOff        0
  36. #define vdPlayThruOn        1
  37.  
  38. /* Input Color Space Modes */
  39.  
  40. #define vdDigitizerBW        0            /* black and white */
  41. #define vdDigitizerRGB        1            /* rgb color */
  42.  
  43. /* Phase Lock Loop Modes */
  44.  
  45. #define vdBroadcastMode        0            /* Broadcast / Laser Disk video mode */
  46. #define vdVTRMode            1            /* VCR / Magnetic media mode */
  47.  
  48. /* vdig types */
  49.  
  50. #define vdTypeBasic            0            /* basic, no clipping */
  51. #define vdTypeAlpha            1            /* supports clipping with alpha channel */
  52. #define vdTypeMask            2            /* supports clipping with mask plane */
  53. #define vdTypeKey            3            /* supports clipping with key color(s) */
  54.  
  55. /* Digitizer Error Codes */
  56.  
  57. #define    digiUnimpErr    -2201             /* feature unimplemented */
  58. #define    paramErr        -2202            /* bad input parameter (out of range, etc) */
  59. #define    matrixErr        -2203            /* bad matrix, digitizer did nothing */
  60. #define    notExactMatrix    -2204            /* warning of bad matrix, digitizer did its best */
  61. #define    noMoreKeyColors    -2205            /* all key indexes in use */
  62. #define    notExactSize    -2206            /* Can't do exact size requested */
  63. #define    badDepth        -2207            /* Can't digitize into this depth */
  64. #define    noDMA            -2208            /* Can't do DMA digitizing (i.e. can't go to requested dest */
  65.  
  66. /* Digitizer Input Capability/Current Flags    */
  67.  
  68. #define    digiInDoesNTSC        (1L<<0)        /* digitizer supports NTSC input format */
  69. #define    digiInDoesPAL        (1L<<1)        /* digitizer supports PAL input format */
  70. #define    digiInDoesSECAM        (1L<<2)        /* digitizer supports SECAM input format */
  71. #define digiInDoesGenLock    (1L<<7)        /* digitizer does genlock */
  72.  
  73. #define    digiInDoesComposite    (1L<<8)        /* digitizer supports composite input type */
  74. #define    digiInDoesSVideo    (1L<<9)        /* digitizer supports S-Video input type */
  75. #define digiInDoesComponent (1L<<10)    /* digitizer supports component (rgb) input type */
  76. #define    digiInVTR_Broadcast    (1L<<11)    /* digitizer can differentiate between the two */
  77.  
  78. #define    digiInDoesColor        (1L<<12)    /* digitizer supports color */
  79. #define    digiInDoesBW        (1L<<13)    /* digitizer supports black & white */
  80.  
  81. /* Digitizer Input Current Flags (these are valid only during active operating conditions)    */
  82.  
  83. #define    digiInGenLocked        (1L<<30)    /* digitizer signal is in genlock mode */
  84. #define    digiInSignalLock    (1L<<31)    /* digitizer detects input signal is locked */
  85.                                         /* this bit = horiz lock || vertical lock */
  86.  
  87. /* Digitizer Output Capability/Current Flags */
  88.  
  89. #define    digiOutDoes1            (1L<<0)        /* digitizer supports 1 bit pixels */
  90. #define    digiOutDoes2            (1L<<1)        /* digitizer supports 2 bit pixels */
  91. #define    digiOutDoes4            (1L<<2)        /* digitizer supports 4 bit pixels */
  92. #define    digiOutDoes8            (1L<<3)        /* digitizer supports 8 bit pixels */
  93. #define    digiOutDoes16            (1L<<4)        /* digitizer supports 16 bit pixels */
  94. #define    digiOutDoes32            (1L<<5)        /* digitizer supports 32 bit pixels */
  95. #define    digiOutDoesDither        (1L<<6)        /* digitizer dithers in indexed modes */
  96. #define    digiOutDoesStretch        (1L<<7)        /* digitizer can arbitrarily stretch */
  97. #define    digiOutDoesShrink        (1L<<8)        /* digitizer can arbitrarily shrink */
  98. #define    digiOutDoesMask            (1L<<9)        /* digitizer can mask to clipping regions */
  99.  
  100. #define    digiOutDoesDouble        (1L<<11)    /* digitizer can stretch to exactly double size */
  101. #define    digiOutDoesQuad            (1L<<12)    /* digitizer can stretch exactly quadruple size */
  102. #define    digiOutDoesQuarter        (1L<<13)    /* digitizer can shrink to exactly quarter size */
  103. #define    digiOutDoesSixteenth    (1L<<14)    /* digitizer can shrink to exactly sixteenth size */
  104.  
  105. #define    digiOutDoesRotate        (1L<<15)    /* digitizer supports rotate transformations */
  106. #define    digiOutDoesHorizFlip    (1L<<16)    /* digitizer supports horizontal flips Sx < 0 */
  107. #define    digiOutDoesVertFlip        (1L<<17)    /* digitizer supports vertical flips Sy < 0 */
  108. #define    digiOutDoesSkew            (1L<<18)    /* digitizer supports skew (shear,twist) */
  109. #define    digiOutDoesBlend        (1L<<19)
  110. #define    digiOutDoesWarp            (1L<<20)
  111.  
  112. #define    digiOutDoesHW_DMA        (1L<<21)    /* digitizer not constrained to local device */
  113. #define digiOutDoesHWPlayThru    (1L<<22)    /* digitizer doesn't need time to play thru */
  114. #define    digiOutDoesILUT            (1L<<23)    /* digitizer does inverse LUT for index modes */
  115. #define    digiOutDoesKeyColor        (1L<<24)    /* digitizer does key color functions too */
  116. #define digiOutDoesAsyncGrabs    (1L<<25)    /* digitizer supports async grabs */
  117.  
  118.  
  119. /* Types */
  120.  
  121. typedef ComponentInstance VideoDigitizerThing;
  122. typedef ComponentResult VideoDigitizerError;
  123.  
  124. typedef struct {
  125.     short        vdigType;
  126.     long         inputCapabilityFlags;
  127.     long         outputCapabilityFlags;    
  128.     long         inputCurrentFlags;
  129.     long         outputCurrentFlags;
  130.     short        slot;                    /* temporary for connection purposes */
  131.     GDHandle    gdh;                    /* temporary for digitizers that have preferred screen */
  132.     GDHandle    maskgdh;                /* temporary for digitizers that have mask planes */
  133.     short        minDestHeight;            /* Smallest resizable height */        
  134.     short        minDestWidth;            /* Smallest resizable width */
  135.     short        maxDestHeight;            /* Largest resizable height */
  136.     short        maxDestWidth;            /* Largest resizable height */
  137.     short        blendLevels;            /* Number of blend levels supported (2 if 1 bit mask) */
  138.     long        reserved;                /* reserved */
  139. } DigitizerInfo;
  140.  
  141. typedef struct {
  142.     long        type;
  143.     long        reserved;
  144. } VdigType;
  145.  
  146. typedef struct {
  147.     short        count;
  148.     VdigType    list[1];
  149. } VdigTypeList;
  150.  
  151. typedef struct {
  152.     PixMapHandle    dest;
  153.     Point            location;
  154.     long            reserved;
  155. } VdigBufferRec;
  156.  
  157. typedef struct {
  158.     short            count;
  159.     MatrixRecordPtr    matrix;
  160.     RgnHandle        mask;
  161.     VdigBufferRec    list[1];
  162. } VdigBufferRecList;
  163.  
  164. typedef VdigBufferRecList *VdigBufferRecListPtr, **VdigBufferRecListHandle;
  165.  
  166. #ifdef __cplusplus
  167. extern "C" {
  168. #endif
  169.  
  170. /* Video Digitizer Interface */
  171.  
  172. #define kSelectVDGetMaxSrcRect            1
  173. #define kSelectVDGetActiveSrcRect        2
  174. #define kSelectVDSetDigitizerRect        3
  175. #define kSelectVDGetDigitizerRect        4
  176. #define kSelectVDGetVBlankRect            5
  177. #define kSelectVDGetMaskPixMap            6
  178. #define kSelectVDDone                    7            
  179. #define kSelectVDGetPlayThruDestination    8            
  180. #define kSelectVDUseThisCLUT            9
  181. #define kSelectVDSetInputGammaValue        10
  182. #define kSelectVDGetInputGammaValue        11
  183. #define kSelectVDSetBrightness            12            
  184. #define kSelectVDGetBrightness            13            
  185. #define kSelectVDSetContrast            14
  186. #define kSelectVDSetHue                    15
  187. #define kSelectVDSetSharpness            16
  188. #define kSelectVDSetSaturation            17
  189. #define kSelectVDGetContrast            18
  190. #define kSelectVDGetHue                    19
  191. #define kSelectVDGetSharpness            20
  192. #define kSelectVDGetSaturation            21    
  193. #define kSelectVDGrabOneFrame            22
  194. #define kSelectVDGetMaxAuxBuffer        23
  195. #define kSelectVDGrabOneFrameAsync        24            
  196. #define kSelectVDGetDigitizerInfo        25
  197. #define kSelectVDGetCurrentFlags        26
  198. #define kSelectVDSetKeyColor            27
  199. #define kSelectVDGetKeyColor            28
  200. #define kSelectVDAddKeyColor            29
  201. #define kSelectVDGetNextKeyColor        30
  202. #define kSelectVDSetKeyColorRange        31
  203. #define kSelectVDGetKeyColorRange        32
  204. #define kSelectVDSetDigitizerUserInterrupt    33
  205. #define kSelectVDSetInputColorSpaceMode    34        
  206. #define kSelectVDGetInputColorSpaceMode    35
  207. #define kSelectVDSetClipState            36
  208. #define kSelectVDGetClipState            37
  209. #define kSelectVDSetClipRgn                38
  210. #define kSelectVDClearClipRgn            39
  211. #define kSelectVDGetCLUTInUse            40
  212. #define kSelectVDSetPLLFilterType        41
  213. #define kSelectVDGetPLLFilterType        42
  214. #define kSelectVDGetMaskandValue        43
  215. #define kSelectVDSetMasterBlendLevel    44
  216. #define kSelectVDSetPlayThruDestination    45
  217. #define kSelectVDSetPlayThruOnOff        46
  218. #define kSelectVDGetAltDataTypes        47
  219. #define kSelectVDSetAltDataDestination    48
  220. #define kSelectVDSetAltDataOnOff        49
  221. #define kSelectVDPreflightDestination    50
  222. #define kSelectVDPreflightGlobalRect    51        
  223. #define kSelectVDSetPlayThruGlobalRect    52        
  224. #define kSelectVDSetInputGammaRecord    53
  225. #define kSelectVDGetInputGammaRecord    54
  226. #define kSelectVDSetBlackLevelValue        55
  227. #define kSelectVDGetBlackLevelValue        56
  228. #define kSelectVDSetWhiteLevelValue        57
  229. #define kSelectVDGetWhiteLevelValue        58
  230. #define kSelectVDGetVideoDefaults        59
  231. #define kSelectVDGetNumberOfInputs        60
  232. #define kSelectVDGetInputFormat            61
  233. #define kSelectVDSetInput                62
  234. #define kSelectVDGetInput                63
  235. #define kSelectVDSetInputStandard        64
  236. #define kSelectVDSetupBuffers            65
  237. #define kSelectVDGrabOneFrameAsync2        66
  238. #define kSelectVDDone2                    67
  239.  
  240. #define kvdigSelectors                    67
  241.  
  242. pascal VideoDigitizerError    VDGetMaxSrcRect(VideoDigitizerThing ti, short inputStd, Rect *maxSrcRect)
  243.     = {0x2f3c,6,1,0x7000,0xa82a};
  244. pascal VideoDigitizerError    VDGetActiveSrcRect(VideoDigitizerThing ti, short inputStd, Rect *activeSrcRect)
  245.     = {0x2f3c,6,2,0x7000,0xa82a};
  246. pascal VideoDigitizerError    VDSetDigitizerRect(VideoDigitizerThing ti, Rect *digitizerRect)
  247.     = {0x2f3c,4,3,0x7000,0xa82a};
  248. pascal VideoDigitizerError    VDGetDigitizerRect(VideoDigitizerThing ti, Rect *digitizerRect)
  249.     = {0x2f3c,4,4,0x7000,0xa82a};
  250. pascal VideoDigitizerError    VDGetVBlankRect(VideoDigitizerThing ti, short inputStd, Rect *vBlankRect)
  251.     = {0x2f3c,6,5,0x7000,0xa82a};
  252. pascal VideoDigitizerError    VDGetMaskPixMap(VideoDigitizerThing ti, PixMapHandle maskPixMap)
  253.     = {0x2f3c,4,6,0x7000,0xa82a};
  254. pascal VideoDigitizerError    VDGetPlayThruDestination(VideoDigitizerThing ti, PixMapHandle *dest, Rect *destRect,
  255.                                 MatrixRecord *m, RgnHandle *mask)
  256.     = {0x2f3c,16,8,0x7000,0xa82a};
  257. pascal VideoDigitizerError    VDUseThisCLUT(VideoDigitizerThing ti, CTabHandle colorTableHandle)        
  258.     = {0x2f3c,4,9,0x7000,0xa82a};
  259. pascal VideoDigitizerError    VDSetInputGammaValue(VideoDigitizerThing ti, Fixed channel1, Fixed channel2, Fixed channel3)
  260.     = {0x2f3c,12,10,0x7000,0xa82a};
  261. pascal VideoDigitizerError    VDGetInputGammaValue(VideoDigitizerThing ti, Fixed *channel1, Fixed *channel2, Fixed *channel3)
  262.     = {0x2f3c,12,11,0x7000,0xa82a};
  263. pascal VideoDigitizerError    VDSetBrightness(VideoDigitizerThing ti, unsigned short *brightness)
  264.     = {0x2f3c,4,12,0x7000,0xa82a};
  265. pascal VideoDigitizerError    VDGetBrightness(VideoDigitizerThing ti, unsigned short *brightness)
  266.     = {0x2f3c,4,13,0x7000,0xa82a};
  267. pascal VideoDigitizerError    VDSetContrast(VideoDigitizerThing ti, unsigned short *contrast)
  268.     = {0x2f3c,4,14,0x7000,0xa82a};
  269. pascal VideoDigitizerError    VDSetHue(VideoDigitizerThing ti, unsigned short *hue)
  270.     = {0x2f3c,4,15,0x7000,0xa82a};
  271. pascal VideoDigitizerError    VDSetSharpness(VideoDigitizerThing ti, unsigned short *sharpness)
  272.     = {0x2f3c,4,16,0x7000,0xa82a};
  273. pascal VideoDigitizerError    VDSetSaturation(VideoDigitizerThing ti, unsigned short *saturation)
  274.     = {0x2f3c,4,17,0x7000,0xa82a};
  275. pascal VideoDigitizerError    VDGetContrast(VideoDigitizerThing ti, unsigned short *contrast)
  276.     = {0x2f3c,4,18,0x7000,0xa82a};
  277. pascal VideoDigitizerError    VDGetHue(VideoDigitizerThing ti, unsigned short *hue)
  278.     = {0x2f3c,4,19,0x7000,0xa82a};
  279. pascal VideoDigitizerError    VDGetSharpness(VideoDigitizerThing ti, unsigned short *sharpness)
  280.     = {0x2f3c,4,20,0x7000,0xa82a};
  281. pascal VideoDigitizerError    VDGetSaturation(VideoDigitizerThing ti, unsigned short *saturation)
  282.     = {0x2f3c,4,21,0x7000,0xa82a};
  283. pascal VideoDigitizerError    VDGrabOneFrame(VideoDigitizerThing ti)
  284.     = {0x2f3c,0,22,0x7000,0xa82a};
  285. pascal VideoDigitizerError    VDGetMaxAuxBuffer(VideoDigitizerThing ti, PixMapHandle *pm, Rect *r)
  286.     = {0x2f3c,8,23,0x7000,0xa82a};
  287. pascal VideoDigitizerError    VDGetDigitizerInfo(VideoDigitizerThing ti, DigitizerInfo *info)
  288.     = {0x2f3c,4,25,0x7000,0xa82a};
  289. pascal VideoDigitizerError    VDGetCurrentFlags(VideoDigitizerThing ti, long *inputCurrentFlag, long *outputCurrentFlag)
  290.     = {0x2f3c,8,26,0x7000,0xa82a};
  291. pascal VideoDigitizerError    VDSetKeyColor(VideoDigitizerThing ti, long index)
  292.     = {0x2f3c,4,27,0x7000,0xa82a};
  293. pascal VideoDigitizerError    VDGetKeyColor(VideoDigitizerThing ti, long *index)
  294.     = {0x2f3c,4,28,0x7000,0xa82a};
  295. pascal VideoDigitizerError    VDAddKeyColor(VideoDigitizerThing ti, long *index)
  296.     = {0x2f3c,4,29,0x7000,0xa82a};
  297. pascal VideoDigitizerError    VDGetNextKeyColor(VideoDigitizerThing ti, long index)
  298.     = {0x2f3c,4,30,0x7000,0xa82a};
  299. pascal VideoDigitizerError    VDSetKeyColorRange(VideoDigitizerThing ti, RGBColor *minRGB, RGBColor *maxRGB)
  300.     = {0x2f3c,8,31,0x7000,0xa82a};
  301. pascal VideoDigitizerError    VDGetKeyColorRange(VideoDigitizerThing ti, RGBColor *minRGB, RGBColor *maxRGB)
  302.     = {0x2f3c,8,32,0x7000,0xa82a};
  303. pascal VideoDigitizerError    VDSetDigitizerUserInterrupt(VideoDigitizerThing ti, short whichOne, ProcPtr userInterruptProc, Ptr params)
  304.     = {0x2f3c,10,33,0x7000,0xa82a};
  305. pascal VideoDigitizerError    VDSetInputColorSpaceMode(VideoDigitizerThing ti, short colorSpaceMode)
  306.     = {0x2f3c,2,34,0x7000,0xa82a};
  307. pascal VideoDigitizerError    VDGetInputColorSpaceMode(VideoDigitizerThing ti, short *colorSpaceMode)
  308.     = {0x2f3c,4,35,0x7000,0xa82a};
  309. pascal VideoDigitizerError    VDSetClipState(VideoDigitizerThing ti, short clipEnable)
  310.     = {0x2f3c,2,36,0x7000,0xa82a};
  311. pascal VideoDigitizerError    VDGetClipState(VideoDigitizerThing ti, short *clipEnable)
  312.     = {0x2f3c,4,37,0x7000,0xa82a};
  313. pascal VideoDigitizerError    VDSetClipRgn(VideoDigitizerThing ti, RgnHandle clipRegion)
  314.     = {0x2f3c,4,38,0x7000,0xa82a};
  315. pascal VideoDigitizerError    VDClearClipRgn(VideoDigitizerThing ti, RgnHandle clipRegion)
  316.     = {0x2f3c,4,39,0x7000,0xa82a};
  317. pascal VideoDigitizerError    VDGetCLUTInUse(VideoDigitizerThing ti, CTabHandle *colorTableHandle)        
  318.     = {0x2f3c,4,40,0x7000,0xa82a};
  319. pascal VideoDigitizerError    VDSetPLLFilterType(VideoDigitizerThing ti, short pllType)
  320.     = {0x2f3c,2,41,0x7000,0xa82a};
  321. pascal VideoDigitizerError    VDGetPLLFilterType(VideoDigitizerThing ti, short *pllType)
  322.     = {0x2f3c,4,42,0x7000,0xa82a};
  323. pascal VideoDigitizerError    VDGetMaskandValue(VideoDigitizerThing ti, short blendLevel, long *mask, long *value )
  324.     = {0x2f3c,10,43,0x7000,0xa82a};
  325. pascal VideoDigitizerError    VDSetMasterBlendLevel(VideoDigitizerThing ti, short *blendLevel)
  326.     = {0x2f3c,4,44,0x7000,0xa82a};
  327. pascal VideoDigitizerError    VDSetPlayThruDestination(VideoDigitizerThing ti, PixMapHandle dest, Rect *destRect,
  328.                                 MatrixRecord *m, RgnHandle mask)
  329.     = {0x2f3c,16,45,0x7000,0xa82a};
  330. pascal VideoDigitizerError    VDSetPlayThruOnOff(VideoDigitizerThing ti, short state)
  331.     = {0x2f3c,2,46,0x7000,0xa82a};
  332. pascal VideoDigitizerError    VDGetAltDataTypes(VideoDigitizerThing ti, VdigTypeList **list)
  333.     = {0x2f3c,4,47,0x7000,0xa82a};
  334. pascal VideoDigitizerError    VDSetAltDataDestination(VideoDigitizerThing ti, long type, Ptr startAddr, short rowBytes,
  335.                                 short PixelSize, long bufferSize, Rect *destRect, MatrixRecord *m, ProcPtr frameDonePtr)
  336.     = {0x2f3c,28,48,0x7000,0xa82a};
  337. pascal VideoDigitizerError    VDSetAltDataOnOff(VideoDigitizerThing ti, short state)
  338.     = {0x2f3c,2,49,0x7000,0xa82a};
  339. pascal VideoDigitizerError    VDPreflightDestination(VideoDigitizerThing ti, Rect *digitizerRect, PixMap **dest, 
  340.                                 Rect *destRect, MatrixRecord *m)
  341.     = {0x2f3c,16,50,0x7000,0xa82a};
  342. pascal VideoDigitizerError    VDPreflightGlobalRect(VideoDigitizerThing ti, GrafPtr theWindow, Rect *globalRect)
  343.     = {0x2f3c,8,51,0x7000,0xa82a};
  344. pascal VideoDigitizerError    VDSetPlayThruGlobalRect(VideoDigitizerThing ti, GrafPtr theWindow, Rect *globalRect)
  345.     = {0x2f3c,8,52,0x7000,0xa82a};
  346. pascal VideoDigitizerError    VDSetInputGammaRecord(VideoDigitizerThing ti, VDGamRecPtr inputGammaPtr)
  347.     = {0x2f3c,4,53,0x7000,0xa82a};
  348. pascal VideoDigitizerError    VDGetInputGammaRecord(VideoDigitizerThing ti, VDGamRecPtr *inputGammaPtr)
  349.     = {0x2f3c,4,54,0x7000,0xa82a};
  350. pascal VideoDigitizerError    VDSetBlackLevelValue(VideoDigitizerThing ti, unsigned short *blackLevel)
  351.     = {0x2f3c,4,55,0x7000,0xa82a};
  352. pascal VideoDigitizerError    VDGetBlackLevelValue(VideoDigitizerThing ti, unsigned short *blackLevel)
  353.     = {0x2f3c,4,56,0x7000,0xa82a};
  354. pascal VideoDigitizerError    VDSetWhiteLevelValue(VideoDigitizerThing ti, unsigned short *whiteLevel)
  355.     = {0x2f3c,4,57,0x7000,0xa82a};
  356. pascal VideoDigitizerError    VDGetWhiteLevelValue(VideoDigitizerThing ti, unsigned short *whiteLevel)
  357.     = {0x2f3c,4,58,0x7000,0xa82a};
  358. pascal VideoDigitizerError    VDGetVideoDefaults(VideoDigitizerThing ti, 
  359.                             unsigned short *blackLevel, unsigned short *whiteLevel,
  360.                             unsigned short *brightness, unsigned short *hue, unsigned short *saturation,
  361.                             unsigned short *contrast, unsigned short *sharpness)
  362.     = {0x2f3c,28,59,0x7000,0xa82a};
  363. pascal VideoDigitizerError    VDGrabOneFrameAsync(VideoDigitizerThing ti, Boolean bufferingOn, PixMapHandle nextDest, Point nextPt)
  364.     = {0x2f3c,10,24,0x7000,0xa82a};
  365. pascal long    VDDone(VideoDigitizerThing ti)
  366.     = {0x2f3c,0,7,0x7000,0xa82a};
  367. pascal VideoDigitizerError    VDGetNumberOfInputs(VideoDigitizerThing ti, short *inputs)
  368.     = {0x2f3c,4,60,0x7000,0xa82a};    /* zero based!! */
  369. pascal VideoDigitizerError    VDGetInputFormat(VideoDigitizerThing ti, short input, short *format)
  370.     = {0x2f3c,6,61,0x7000,0xa82a};
  371. pascal VideoDigitizerError    VDSetInput(VideoDigitizerThing ti, short input)
  372.     = {0x2f3c,2,62,0x7000,0xa82a};
  373. pascal VideoDigitizerError    VDGetInput(VideoDigitizerThing ti, short *input)
  374.     = {0x2f3c,4,63,0x7000,0xa82a};
  375. pascal VideoDigitizerError    VDSetInputStandard(VideoDigitizerThing ti, short inputStandard)
  376.     = {0x2f3c,2,64,0x7000,0xa82a};
  377. pascal VideoDigitizerError    VDSetupBuffers(VideoDigitizerThing ti, VdigBufferRecListHandle bufferList)
  378.     = {0x2f3c,4,65,0x7000,0xa82a};
  379. pascal VideoDigitizerError    VDGrabOneFrameAsync2(VideoDigitizerThing ti, short buffer)
  380.     = {0x2f3c,2,66,0x7000,0xa82a};
  381. pascal long    VDDone2(VideoDigitizerThing ti, short buffer)
  382.     = {0x2f3c,2,67,0x7000,0xa82a};
  383.  
  384.  
  385.  
  386. #ifdef __cplusplus
  387. }
  388. #endif
  389.  
  390. #endif _videodigitizer_
  391.  
  392.